//登录验证
function frmsubmit(){
	if($.trim(document.frm.userLogin.value).length==0){
		document.frm.userLogin.focus();
		alert("请输入用户名");
		return false;
	}
	if($.trim(document.frm.userPasswd.value).length==0){
		document.frm.userPasswd.focus();
		alert("请输入密码");
		return false;
	}
	document.getElementById("frm").submit();
}
$(function(){
	if(window.fullname){
		location.href = "front_maillist.action?sysid=12";
	}
});